﻿using System;
using System.ComponentModel.DataAnnotations;
using SqlSugar;


namespace HSGD.Model.Models.HSGD_Staff;

[Tenant("HSGD_Staff")]
[SugarTable("person_education_info")]
public class PersonEducationInfo {
    public PersonEducationInfo() { }

    [SugarColumn(IsNullable = false, IsPrimaryKey = true)]
    public int iID { get; set; }

    public string Person_System_ID { get; set; }

    [SugarColumn(ColumnName = "school", Length = 50, IsNullable = true)]
    [StringLength(50)]
    public string? School { get; set; }

    [SugarColumn(ColumnName = "major", Length = 50, IsNullable = true)]
    public string? Major { get; set; }

    [SugarColumn(ColumnName = "degree", Length = 50, IsNullable = true)]
    public string? Degree { get; set; }

    [SugarColumn(ColumnName = "year", Length = 50, IsNullable = true)]
    public string? Year { get; set; }

    [SugarColumn(ColumnName = "gpa", Length = 50, IsNullable = true)]
    public string? gpa { get; set; }

    [SugarColumn(ColumnName = "expired_date", Length = 50, IsNullable = true)]
    public DateTime? Expired_Date { get; set; }

    [SugarColumn(ColumnName = "scan_id", Length = 36)]
    public string? Scan_Id { get; set; }

    public string Comments { get; set; }

    [SugarColumn(ColumnName = "unrelated_degree", Length = 50, IsNullable = true)]
    public string? Unrelated_Degree { get; set; }

    [SugarColumn(ColumnName = "customer_id", Length = 50, IsNullable = true)]
    public string? Customer_Id { get; set; }

    [SugarColumn(ColumnName = "update_date")]
    public DateTime? Update_Date { get; set; }
    [SugarColumn(ColumnName = "update_user")]
    public string? Update_User { get; set; }
    [SugarColumn(ColumnName = "tran_id")]
    public string? Tran_Id { get; set; }

}